package com.wly.datapool
{
	import com.wly.sound.SoundManager;

	public class Setting
	{
		private var _bgSoundOff:Boolean;
		private var _effectSoundOff:Boolean;
		
		public function get effectSoundOff():Boolean
		{
			return _effectSoundOff;
		}

		public function set effectSoundOff(value:Boolean):void
		{
			_effectSoundOff = value;
		}

		public function get bgSoundOff():Boolean
		{
			return _bgSoundOff;
		}

		public function set bgSoundOff(value:Boolean):void
		{
			_bgSoundOff = value;
			if(!value)
			{
				SoundManager.instance.playBgSound();
			}
			else
			{
				SoundManager.instance.stopBgSound();
			}
		}

	}
}